﻿using System.Collections.Generic;

namespace RabbitDownload.WebSite.Pixiv.PixivRelevant
{
    /// <summary>
    /// P站相关推荐JSON结构体
    /// </summary>
    internal class PixivRelevantJson
    {
        public class IllustsItem
        {
            /// <summary>
            ///
            /// </summary>
            public string workId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string imageUrl { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string profileImageUrl { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string type { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int illustType { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string title { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userName { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string illustPageCount { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<string> tags { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string isBookmarkable { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string bookmarkData { get; set; }
        }

        public class Body
        {
            /// <summary>
            ///
            /// </summary>
            public List<IllustsItem> illusts { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<string> nextIds { get; set; }
        }

        public class Root
        {
            /// <summary>
            ///
            /// </summary>
            public string error { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string message { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Body body { get; set; }
        }
    }
}